package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.RepeatWwCustomer;
import com.xjscrm.console.param.wwCustomer.RepeatWwCustomerQuery;
import com.xjscrm.console.vo.RepeatWwCustomerVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RepeatWwCustomerMapper {
    int addRepeatWwCustomer(RepeatWwCustomer repeatWwCustomer);

    int getTotalByFalg(@Param("merId") Long merId, @Param("falg") long falg);

    List<RepeatWwCustomerVo> RepeatWwCustomerList(RepeatWwCustomerQuery repeatWwCustomerQuery);

    int deleById(@Param("id") Long id, @Param("merId") Long merId);

    RepeatWwCustomerVo getById(@Param("id") Long id, @Param("merId") Long merId);


    void update(RepeatWwCustomer repeatWwCustomer);
}
